import request from '@/utils/request.js';

// 发送请求获取消息
export function send(keyword) {
  return request.get(`/search/users?q=${keyword}`);
}

export function addPerson(person) {
  return request.post(`/person/savePerson`, person);
}

export function updatePerson(person) {
  return request.put(`/person/updatePerson`, person);
}
